﻿using Main.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Main.Services
{
    public interface ISalaryService
    {
        Task<UIMessageCarry> AddAsync(SalaryItem item);
        Task<UIMessageCarry> AddAsync(List<SalaryItem> items);

        Task<UIMessageCarry> ModifyAsync(SalaryItem item);
        Task<bool> RemoveAsync(int itemID);
        Task<List<SalaryItem>> QueryAsync(int StartIndex, int EndIndex);


    }
}
